home *** CD-ROM | disk | FTP | other *** search
- on(release){
- code1 = ["F","1","A","6","8","4","E","C","3","7"];
- code2 = ["B","D","8","4","5","9","3","6","1","0"];
- equa1 = (_root.scorepts.scorepts + 10) * 11;
- equa2 = (_root.scorepts.scorepts + 11) * 11;
- score_string1 = equa1.toString();
- score_string2 = equa2.toString();
- while(score_string1.length < score_string2.length)
- {
- score_string1 = "0" + score_string1;
- }
- i = 0;
- codage = "";
- while(i < score_string2.length)
- {
- pos_string1 = Number(score_string1.charAt(i));
- pos_string2 = Number(score_string2.charAt(i));
- codage = codage + code1[pos_string1] + code2[pos_string2];
- i++;
- }
- desturl = "http://www.high-scores.eu/index.php?page=10&game=14&lang=" + _root.lang + "&result=" + codage;
- getURL(desturl,"_blank");
- }
-